<template>
  <div>
    <my-ts ref="MyTs" @ok="initData"/>
    <a-row>
      <prj-ts ref="PrjTs" @ok="initData"></prj-ts>
    </a-row>
    <!--    <ts-detail-modal ref="TsDetailModal" />-->
  </div>
</template>
<script>
import MyTs from '@views/time/modules/MyTs'
import PrjTs from '@views/time/modules/PrjTs'
import TsDetailModal from '@views/time/modules/TsDetailModal'


export default {
  name:'TsWorkplace',
  components: {
    MyTs,
    PrjTs,
    TsDetailModal,
  },
  data () {
    return {

    }
  },
  methods: {
    initData(){
      this.$refs.MyTs.modalFormOk()
      this.$refs.PrjTs.modalFormOk()
    },
    add() {
      this.$refs.MyTs.add();
    }
  }
}
</script>